package Dao;

import Model.login;
import Model.student;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface studentmapper {

    public student findById(int id);

    public ArrayList<student> select();

    public Boolean selectone(@Param("name") String name, @Param("pwd") String pwd);

    public void add(student o);

    public void update(student o);

    public void delete(Integer id);

    public login findByuser(String user);

    public Boolean same(@Param("name") String name);

    public ArrayList<student> pageselect(@Param("start") int start, @Param("page1") int page1);


}
